﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using WalkingTec.Mvvm.Core;

namespace TyMES.Model.BaseInformation
{
    [Table("T_CodeType")]
    public class CodeType : BasePoco
    {
        [Display(Name = "条码类型名称")]
        [StringLength(50, ErrorMessage = "Validate.{0}stringmax{1}")]
        public string CodeName { get; set; }
        [Display(Name = "条码描述")]
        [StringLength(50, ErrorMessage = "Validate.{0}stringmax{1}")]
        public string CodeDescribe { get; set; }
        [Display(Name = "条码正则")]
        [StringLength(50, ErrorMessage = "Validate.{0}stringmax{1}")]
        public string CodeRegex { get; set; }
    }
}

